Skip to content

Instantly share code, notes, and snippets.

@htlin222
htlin222 / Makefile
Created April 28, 2026 16:43
Build a cross-device English-writing coach over your Claude Code prompt history. Captures every prompt via UserPromptSubmit hook, syncs across devices via Turso, polishes hourly with claude -p as an English teacher (grammar, register, native phrasing, vocab, drills), auto-commits to a private GitHub repo.
# polish-prompt
# Run `make help` for the menu.
ROOT := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
LABEL := com.example.polish-prompt
PLIST := $(ROOT)/$(LABEL).plist
LAUNCHAGENT := $(HOME)/Library/LaunchAgents/$(LABEL).plist
DOMAIN := gui/$(shell id -u)
ENV_FILE := $(HOME)/.config/polish-prompt/env

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@dotysan
dotysan / !VS Code on older Linux.md
Last active May 20, 2026 05:09
Allow VS Code Server to run on older Linux
@hqman
hqman / payment_link.md
Last active May 20, 2026 05:07
payment_link.md
@lltx
lltx / terminal-setup.md
Created March 23, 2026 01:07
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置

📦 工具列表

  • Ghostty - 现代化 GPU 加速终端模拟器
  • Zoxide - 智能目录跳转工具(cd 的智能替代)
  • Yazi - 快速终端文件管理器
  • Oh-My-Zsh - Zsh 配置框架
@cmj
cmj / keys.md
Created October 25, 2025 02:02

Twitter for Android

curl -su "3nVuSoBZnx6U4vzUxf5w:Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys" -d "grant_type=client_credentials" "https://api.twitter.com/oauth2/token"
{
  "token_type": "bearer",
  "access_token": "AAAAAAAAAAAAAAAAAAAAAFXzAwAAAAAAMHCxpeSDG1gLNLghVe8d74hl6k4%3DRUMF4xAQLsbeBhTSRrCiQpJtxoGWeyHrDb5te2jpGskWDFW82F"
}